const APIV1 = '/api/v1'
const APIV2 = '/api/v2'
const LWJ_API = '/services'

module.exports = {
  name: '丽维家报表系统',
  prefix: 'LWJ',
  footerText: 'Liweijia  © 2018 ',
  logo: '/200x100logo.png',
  iconFontCSS: '/iconfont.css',
  iconFontJS: '/iconfont.js',
  CORS: [],
  openPages: ['/login'],
  apiPrefix: '/api/v1',
  APIV1,
  APIV2,
  api: {
    isLogin: `${LWJ_API}/ums/isLogin`,
    menus: `${APIV1}/menus`,
    reportConfig: `${LWJ_API}/reportConfig`,
    report: `${LWJ_API}/report`,
    userLogin: `${APIV1}/user/login`,
    userLogout: `${APIV1}/user/logout`,
    userInfo: `${APIV1}/userInfo`,
    users: `${APIV1}/users`,
    posts: `${APIV1}/posts`,
    user: `${APIV1}/user/:id`,
    dashboard: `${APIV1}/dashboard`,
  
  }
}
